-
Notifications
You must be signed in to change notification settings - Fork 8
Merge db voters and votes collections #246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
INITIAL NOTES:We have this new db architecture design...
Migration Script
Is this a SemVer breaking change?
GAME PLAN:
STRATEGY:
Migration script strategy:
|
|
|
WHAT WE NEED NEXT:
Where are we at with the DB migration?
// db-data/test-reading-data.ts
import { admins } from './local-backup/2025-06-18T06:05'
console.log(Object.keys(admins).length)Still missing?
I think there will be some elections with edge cases that will break the migration—
Possible ways to apply the migration:
Considerations:
See spreadsheet for considerations analyzed https://docs.google.com/spreadsheets/d/17GsGYF4OSh3vcsvp4x3iz27dlXR1_K4xHkQ9497BQLA/edit?gid=0#gid=0 Favored strategy to pursue
|
|
@dsernst how urgent is this from 0-10 (most)? |
|
It's not blocking anything, it's just tech debt. I would say like 4 out of 10? It will be nice when we have a better system in place for this specific change and these sorts of deeper migrations more generally |
Work to merge the
votersandvotescollections, which was lingering technical debt. See #152 (comment).This will unblock us to properly finish link-via-auth.